/**
 * Company
 * Copyright (C) 1992-2020 All Rights Reserved.
 */
package com.yinhai.mycat_test.mapper.read;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yinhai.mycat_test.entity.OrderItem;

/**
 * @author wanggan@yinhai.com
 * @version 1.0
 * @date 2020/4/9 15:19
 * @since JDK1.8
 */
public interface OrderItemReadMapper extends BaseMapper<OrderItem> {
    /**
     * 通过订单id查看订单详情
     *
     * @param orderId
     * @return
     */
    List<OrderItem> queryOrderItemByOrderId(Long orderId);
    
    int queryOrdeItemrCount();
    
}
